package com.orange.core.pojo.entity.writeoff;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.orange.core.pojo.entity.IIntIdModel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
public class WriteOff implements IIntIdModel<WriteOff> {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 商户id
     */
    private Integer shopId;

    /**
     * 业务id
     */
    private Integer businessId;

    /**
     * 业务类型
     */
    private Integer businessType;

    /**
     * 核销日期
     */
    private LocalDate writeOffDate;

    /**
     * 核销时间
     */
    private LocalDateTime writeOffTime;

    /**
     * 核销人
     */
    private Integer writeOffBy;
}
